package com.liqi.monitor.service;

import com.liqi.monitor.domain.DvHeartbeat;
import com.liqi.monitor.domain.dto.HeartBeatDto;


/**
 * 心跳数据记录Service接口
 *
 * @author zhangh
 * @date 2022-10-21
 */
public interface IDvHeartbeatService {

    /**
     * 根据device_id查询详细信息
     *
     * @param deviceId
     * @return
     */
    public DvHeartbeat selectDvHeartbeatByDeviceId(String deviceId);

    /**
     * 新增心跳记录
     *
     * @param dvDeploymentSystem 心跳记录
     * @return 结果
     */
    public int insertDvHeartbeat(DvHeartbeat dvHeartbeat);

    /**
     * 修改心跳记录
     * @param heartBeatDto 
     *
     * @param dvDeploymentSystem 心跳记录
     * @return 结果
     */
    public int updateDvHeartbeat(DvHeartbeat dvHeartbeat);

}
